package mytrain.kirayous.controller;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/test")
public class testController {


    static private Logger logger= LoggerFactory.getLogger(testController.class);
    @Test
    public void test()
    {
        logger.debug("test");
    }
    @GetMapping("/test2")
    public String test2()
    {
        logger.debug("tereet");
        return "hello world";
    }


}
